<?php			
	include_once("./View/Topo.php");
?>		
			
<nav class="navbar navbar-default" role="navigation">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <div class="navbar-brand">CADASTRO DE GRUPO DE PRODUTOS</div>
  </div>
</nav>

<form action="" method="POST">

<input type="hidden" name="metodo" value="salvar"/>

<div class="row">
	<div class="form-group col-sm-4">
		<label>Código do Grupo</label>
		<input class="form-control" name="idGrupo" type="text" value="<?php echo $this->grupo->getIdGrupo(); ?>" readonly/>
	</div>			
</div>

<div class="row">
	<div class="form-group col-sm-12">
		<label>Nome do Grupo do Produto</label>
		<input class="form-control" name="nome" type="text" value="<?php echo $this->grupo->getNome(); ?>"/>
	</div>
</div>

<div class="row pull-right">
	<div class="col-sm-12">	
		
		<a class="btn btn-danger" href="AcaoGrupo.php"> 
			<span class="glyphicon glyphicon-remove"></span> Cancelar 
		</a>

		<button type="submit" class="btn btn-success">
			<span class="glyphicon glyphicon-ok"></span> Salvar 
		</button>				
	</div>
</div>

</form>		

<?php			
	include_once("./View/Rodape.php");
?>